;;manually call (ql:quickloads as defined at top of recipebin.lisp
;;manually call in packages also
;;then in sbcl repl / cli manually do:

(load (compile-file "recipebin.lisp"))

;;program will open and run properly. Close program. Then:

(save-lisp-and-die "built_binary"
                   :toplevel #'main
                   :executable t)

;;binary seems to fail to load certain aspects (e.g. load templates)
;; see memory exception text


e.g.:
* (ql:quickload "sqlite")
To load "sqlite":
  Load 1 ASDF system:
    sqlite
; Loading "sqlite"
..
("sqlite")
* (ql:quickload "ltk")
To load "ltk":
  Load 1 ASDF system:
    ltk
; Loading "ltk"

("ltk")
* (use-package :sqlite)
T
* (use-package :iter)
T
* (use-package :ltk)
T
* (load (compile-file "recipebin.lisp"))

